<!DOCTYPE >
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>基本设置</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/right.css">
<script type="text/javascript" src="__PUBLIC__/home/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/home/js/system.js"></script>
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
</head>
<body style="overflow: auto;">
    <div class="basic bor">
            <div class="title fl">当前位置：视频管理 > 添加视频</div>
            <div class="basic_r fr"><a href="{:U('Index/setting')}">基本信息</a></div>
    </div>
    <div class="notice">
            <div class="n_title">
                <span class="fl">添加视频</span>
                
            </div>
<div class="ncontent">
<form action="{:U('Vedio/newsadds')}" method="post" enctype="multipart/form-data" >
<div class="setting">
   <ul>
    <li>
        <dd class="setting_t fl"><span>*</span>视频标题 ：</dd>
        <dd class="setting_p fl"><input class="seinp" type="text" name="title" value="{$catename.title}">
            <span>产品名称不能为空</span>
        </dd>
    </li>
    <li>
        <dd class="setting_t fl"><span>*</span>是推荐 ：</dd>
        <dd class="setting_p fl">
            <input name="fruit" type="radio" <if condition="$catename['fruit'] eq 1 ">checked = "checked"</if>value="1"/> </label> 是
         <label><input name="fruit" type="radio" <if condition="$catename['fruit'] eq 0 ">checked = "checked"</if>value="0" /></label>否 
        </dd>
    </li>
    <li>
        
        <dd class="setting_t fl"><span>*</span>缩略图 ：</dd>
        <dd class="setting_p fl">
            <div class="infx">
            <input class="infile" type="file" name="pic">
            
            <span class="text_s">上传文件</span>
            </div>
            <span>请按照当前尺寸及大小修改</span>
        </dd>
    </li>
    <li>
        <dd class="setting_t fl">关键词 ：</dd>
        <dd class="setting_p fl"><input class="seinp" type="text" name="keyword" value="{$catename.keyword}">
            <span>请用逗号隔开（如：关键词，关键词，关键词）</span>
        </dd>
    </li>

    <li>
        <dd class="setting_t fl">视频简介 ：</dd>
        <dd class="setting_p fl"><textarea name="description" class="textarea bor" >{$catename.description}</textarea></dd>
    </li>
     <li>
        <dd class="setting_t fl"><span>*</span>视频连接 ：</dd>
        <dd class="setting_p fl"><input class="seinp" type="text" name="url" value="{$catename.url}">
            <span>视频连接为腾讯视频</span>
        </dd>
    </li>
    <li>
        <dd class="setting_t fl"><span>*</span> 视频类别 ：</dd>
        <dd class="setting_p fl">
            <select  name="uid" id="uid" >
            <volist name="catelist" id="li">
                <option value="{$li.id}" <if condition="$li['id'] eq $catename['uid'] ">selected = "selected"</if>>{$li.html}{$li.name}</option>
            </volist>
            </select>   
        </dd>
    </li>
    <li>
        <dd class="setting_t fl">视频介绍 ：</dd>
        <dd class="setting_p intop fl">
        <textarea name="content" class="textarea textared" id ='container'> {$catename.content}</textarea>
        </dd>
    </li>
    <li>
        <dd class="setting_t fl"> &nbsp;</dd>
        <dd class="setting_p fl">
        <input  type="hidden" name="pic1" value="{$catename.pic}">
        <input  type="hidden" name="id" value="{$_GET['id']
        }">
        <input class="submit" type="submit" value="保存">
            
        </dd>
    </li>
</ul>
            

        </div>
        </form>
</div>
    </div>
 </script>
  <script type="text/javascript">
  var ue = UE.getEditor('container', {
    initialFrameWidth:800,
    initialFrameHeight:300
  
  });
    </script>


</body>
</html>